package com.nineclock.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ServletComponentScan(basePackages = "com.nineclock.common.filter")
@MapperScan(basePackages = "com.nineclock.system.mapper")
@EnableDiscoveryClient
public class NCSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(NCSystemApplication.class,args);
    }
}